<header class="main-header">

    <!-- Logo -->
    <a href="/index" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini">C & L</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg">爱code爱生活</span>
    </a>

    <!-- Header Navbar -->
    <nav class="navbar navbar-static-top" role="navigation">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only">Toggle navigation</span>
        </a>
        <!-- Navbar Right Menu -->
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <!-- User Account Menu -->
                <li class="dropdown user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="/images/img/user2-160x160.jpg" class="user-image" alt="User Image">
                        <span class="hidden-xs">用户名</span>
                    </a>
                    <span class="dropdown-menu"></span>
                    <button type="button" class="btn btn-default dropdown-menu"
                        style="text-align: center;line-height: 30px;width: 100px">退出</button>
                    </span>
                </li>
                <li class="dropdown notifications-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                        <i class="fa fa-bell-o"></i>
                        <span class="label label-warning">n</span>
                    </a>
                    <ul class="dropdown-menu">
                        <li class="header">你有 n 条消息等待查看</li>
                        <li>
                            <!-- inner menu: contains the actual data -->
                            <ul class="menu">
                                <li>
                                    <a href="#">
                                        <i class="fa fa-user text-red"></i>
                                        一条提示信息
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="footer"><a href="#">全部已读</a></li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
</header>